[INFO] cloning repository https://github.com/haoming06/fangjia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haoming06/fangjia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoming06%2Ffangjia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoming06%2Ffangjia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d0f7a21b038103898fb1d9c8df696d51a30f007
[INFO] building haoming06/fangjia against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoming06%2Ffangjia" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/haoming06/fangjia on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/haoming06/fangjia
[INFO] finished tweaking git repo https://github.com/haoming06/fangjia
[INFO] tweaked toml for git repo https://github.com/haoming06/fangjia written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/haoming06/fangjia already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6e22d5686779aa5e03ed2214f1633e94c5867f55de01482b120449e828b6c6a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d6e22d5686779aa5e03ed2214f1633e94c5867f55de01482b120449e828b6c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6e22d5686779aa5e03ed2214f1633e94c5867f55de01482b120449e828b6c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6e22d5686779aa5e03ed2214f1633e94c5867f55de01482b120449e828b6c6a", kill_on_drop: false }`
[INFO] [stdout] d6e22d5686779aa5e03ed2214f1633e94c5867f55de01482b120449e828b6c6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0bd890f701727e0bc03f7df92dd4e17d4b3759774146a8324c7c920b4ea66066
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0bd890f701727e0bc03f7df92dd4e17d4b3759774146a8324c7c920b4ea66066", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.3
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.3
[INFO] [stderr]    Compiling rayon-core v1.6.0
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling palette v0.4.1
[INFO] [stderr]    Compiling bit-vec v0.5.1
[INFO] [stderr]    Compiling svg v0.5.12
[INFO] [stderr]    Compiling ego-tree v0.6.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling cmake v0.1.42
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.49
[INFO] [stderr]    Compiling servo-fontconfig-sys v4.0.7
[INFO] [stderr]    Compiling tokio-sync v0.1.6
[INFO] [stderr]    Compiling dtoa-short v0.3.2
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.3.2
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling futf v0.1.4
[INFO] [stderr]    Compiling gif v0.10.2
[INFO] [stderr]    Compiling servo_arc v0.1.1
[INFO] [stderr]    Compiling bit-set v0.5.1
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling tokio-executor v0.1.8
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.20
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling stb_truetype v0.3.0
[INFO] [stderr]    Compiling regex-automata v0.1.8
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling servo-freetype-sys v4.0.5
[INFO] [stderr]    Compiling tendril v0.4.1
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling tokio-timer v0.2.11
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling flate2 v1.0.11
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling csv-core v0.1.6
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling backtrace v0.3.37
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling http v0.1.18
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling openssl v0.10.24
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling chrono v0.4.9
[INFO] [stderr]    Compiling rusttype v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling png v0.14.1
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling string_cache_codegen v0.4.4
[INFO] [stderr]    Compiling servo-fontconfig v0.4.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling selectors v0.21.0
[INFO] [stderr]    Compiling tokio-threadpool v0.1.15
[INFO] [stderr]    Compiling font-loader v0.8.0
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling publicsuffix v1.5.3
[INFO] [stderr]    Compiling rayon v1.2.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling string_cache v0.7.3
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling palette_derive v0.4.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling html5ever v0.23.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling html5ever v0.22.5
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]    Compiling cssparser v0.25.9
[INFO] [stderr]    Compiling cssparser-macros v0.3.6
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling image v0.21.3
[INFO] [stderr]    Compiling plotters v0.2.5
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling bstr v0.2.8
[INFO] [stderr]    Compiling serde_yaml v0.8.9
[INFO] [stderr]    Compiling csv v1.1.1
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling cookie_store v0.6.0
[INFO] [stderr]    Compiling markup5ever v0.8.1
[INFO] [stderr]    Compiling markup5ever v0.7.5
[INFO] [stderr]    Compiling reqwest v0.9.20
[INFO] [stderr]    Compiling user_agent v0.7.0
[INFO] [stderr]    Compiling select v0.4.3
[INFO] [stderr]    Compiling scraper v0.10.1
[INFO] [stderr]    Compiling fangjia v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Result`, `Value`
[INFO] [stdout]  --> src/main.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::{Value, Result, json};
[INFO] [stdout]   |                  ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::document::Document`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use select::document::Document;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Attr`, `Class`, `Name`, `Predicate`
[INFO] [stdout]  --> src/main.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use select::predicate::{Class, Name, Predicate, Attr};
[INFO] [stdout]   |                         ^^^^^  ^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::node::Node`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use select::node::Node;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client`, `Uri`
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hyper::{Client, Uri};
[INFO] [stdout]   |             ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io`, `process`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::{io, process};
[INFO] [stdout]    |           ^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CONTENT_TYPE`, `HeaderMap`, `USER_AGENT`
[INFO] [stdout]  --> src/browser.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::header::{HeaderMap, HeaderValue, USER_AGENT, CONTENT_TYPE};
[INFO] [stdout]   |                       ^^^^^^^^^               ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/browser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `COOKIE`, `SET_COOKIE`
[INFO] [stdout]  --> src/browser.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use self::reqwest::header::{COOKIE, SET_COOKIE};
[INFO] [stdout]   |                             ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CookieStore`, `Cookie`
[INFO] [stdout]  --> src/browser.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cookie_store::{CookieStore, Cookie};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::user_agent::Session`
[INFO] [stdout]   --> src/browser.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::user_agent::Session;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `self`
[INFO] [stdout]   --> src/browser.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io::{self, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/browser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]   --> src/browser.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::hash::Hash;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/browser.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if (&result.status().is_success() == &true) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if (result.is_some()) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/main.rs:133:54
[INFO] [stdout]     |
[INFO] [stdout] 133 |         .build_ranged(0f32..data.len() as f32, match (min_data.price as f32 - ((max_data.price - min_data.price) / 10) as f32) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 170 |     if (res.status() == 200) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:178:16
[INFO] [stdout]     |
[INFO] [stdout] 178 |             if (div.is_some()) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 |                     if (b_ele.is_some()) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 |                     if (span_ele.is_some()) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |                         if (find.is_some()) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user_agent::SessionClient`
[INFO] [stdout]   --> src/browser.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use user_agent::SessionClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let mut text = res.text().unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/browser.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let mut result = self.client.post(url).json(param).headers(self.headers.clone()).send().unwrap();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `post`
[INFO] [stdout]   --> src/browser.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn post<T: Serialize + ?Sized>(&mut self, url: &'static str, param: &T) -> Response {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `crawler_city`
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn crawler_city() {}
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |                     wtr.serialize(record);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 wtr.flush();
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     root.fill(&WHITE);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4m 08s
[INFO] running `Command { std: "docker" "inspect" "0bd890f701727e0bc03f7df92dd4e17d4b3759774146a8324c7c920b4ea66066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bd890f701727e0bc03f7df92dd4e17d4b3759774146a8324c7c920b4ea66066", kill_on_drop: false }`
[INFO] [stdout] 0bd890f701727e0bc03f7df92dd4e17d4b3759774146a8324c7c920b4ea66066
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf0c0934f90a290118e4d972b7a3e60fda6b7ac5994c4a43bf9b36172759c293
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cf0c0934f90a290118e4d972b7a3e60fda6b7ac5994c4a43bf9b36172759c293", kill_on_drop: false }`
[INFO] [stderr]    Compiling fangjia v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Result`, `Value`
[INFO] [stdout]  --> src/main.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::{Value, Result, json};
[INFO] [stdout]   |                  ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::document::Document`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use select::document::Document;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Attr`, `Class`, `Name`, `Predicate`
[INFO] [stdout]  --> src/main.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use select::predicate::{Class, Name, Predicate, Attr};
[INFO] [stdout]   |                         ^^^^^  ^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::node::Node`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use select::node::Node;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client`, `Uri`
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hyper::{Client, Uri};
[INFO] [stdout]   |             ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io`, `process`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::{io, process};
[INFO] [stdout]    |           ^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::borrow::Borrow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CONTENT_TYPE`, `HeaderMap`, `USER_AGENT`
[INFO] [stdout]  --> src/browser.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::header::{HeaderMap, HeaderValue, USER_AGENT, CONTENT_TYPE};
[INFO] [stdout]   |                       ^^^^^^^^^               ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/browser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `COOKIE`, `SET_COOKIE`
[INFO] [stdout]  --> src/browser.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use self::reqwest::header::{COOKIE, SET_COOKIE};
[INFO] [stdout]   |                             ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CookieStore`, `Cookie`
[INFO] [stdout]  --> src/browser.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cookie_store::{CookieStore, Cookie};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::user_agent::Session`
[INFO] [stdout]   --> src/browser.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::user_agent::Session;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `self`
[INFO] [stdout]   --> src/browser.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io::{self, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/browser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]   --> src/browser.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::hash::Hash;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/browser.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if (&result.status().is_success() == &true) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     if (result.is_some()) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]    --> src/main.rs:133:54
[INFO] [stdout]     |
[INFO] [stdout] 133 |         .build_ranged(0f32..data.len() as f32, match (min_data.price as f32 - ((max_data.price - min_data.price) / 10) as f32) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 170 |     if (res.status() == 200) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:178:16
[INFO] [stdout]     |
[INFO] [stdout] 178 |             if (div.is_some()) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 |                     if (b_ele.is_some()) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 |                     if (span_ele.is_some()) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |                         if (find.is_some()) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user_agent::SessionClient`
[INFO] [stdout]   --> src/browser.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use user_agent::SessionClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let mut text = res.text().unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/browser.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let mut result = self.client.post(url).json(param).headers(self.headers.clone()).send().unwrap();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `post`
[INFO] [stdout]   --> src/browser.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn post<T: Serialize + ?Sized>(&mut self, url: &'static str, param: &T) -> Response {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `crawler_city`
[INFO] [stdout]   --> src/main.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn crawler_city() {}
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |                     wtr.serialize(record);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 wtr.flush();
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     root.fill(&WHITE);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.39s
[INFO] running `Command { std: "docker" "inspect" "cf0c0934f90a290118e4d972b7a3e60fda6b7ac5994c4a43bf9b36172759c293", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf0c0934f90a290118e4d972b7a3e60fda6b7ac5994c4a43bf9b36172759c293", kill_on_drop: false }`
[INFO] [stdout] cf0c0934f90a290118e4d972b7a3e60fda6b7ac5994c4a43bf9b36172759c293
